Optimal. Leaf size=120 \[ -\frac {1}{\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)}-\frac {e (a+b x) \log (a+b x)}{\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)^2}+\frac {e (a+b x) \log (d+e x)}{\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 120, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {770, 21, 44} \begin {gather*} -\frac {1}{\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)}-\frac {e (a+b x) \log (a+b x)}{\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)^2}+\frac {e (a+b x) \log (d+e x)}{\sqrt {a^2+2 a b x+b^2 x^2} (b d-a e)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 44
Rule 770
Rubi steps
\begin {align*} \int \frac {a+b x}{(d+e x) \left (a^2+2 a b x+b^2 x^2\right )^{3/2}} \, dx &=\frac {\left (b^2 \left (a b+b^2 x\right )\right ) \int \frac {a+b x}{\left (a b+b^2 x\right )^3 (d+e x)} \, dx}{\sqrt {a^2+2 a b x+b^2 x^2}}\\ &=\frac {\left (a b+b^2 x\right ) \int \frac {1}{(a+b x)^2 (d+e x)} \, dx}{b \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=\frac {\left (a b+b^2 x\right ) \int \left (\frac {b}{(b d-a e) (a+b x)^2}-\frac {b e}{(b d-a e)^2 (a+b x)}+\frac {e^2}{(b d-a e)^2 (d+e x)}\right ) \, dx}{b \sqrt {a^2+2 a b x+b^2 x^2}}\\ &=-\frac {1}{(b d-a e) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {e (a+b x) \log (a+b x)}{(b d-a e)^2 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {e (a+b x) \log (d+e x)}{(b d-a e)^2 \sqrt {a^2+2 a b x+b^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 57, normalized size = 0.48 \begin {gather*} \frac {e (a+b x) \log (d+e x)-e (a+b x) \log (a+b x)+a e-b d}{\sqrt {(a+b x)^2} (b d-a e)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [B] time = 2.47, size = 1732, normalized size = 14.43 \begin {gather*} \frac {b d \tanh ^{-1}\left (\frac {\sqrt {b^2} x}{a}-\frac {\sqrt {a^2+2 b x a+b^2 x^2}}{a}\right )}{a (b d-a e)^2}-\frac {b d \tanh ^{-1}\left (\frac {\sqrt {b^2} e x}{2 b d-a e}-\frac {e \sqrt {a^2+2 b x a+b^2 x^2}}{2 b d-a e}\right )}{a (b d-a e)^2}+\frac {\sqrt {b^2} d \log \left (-a-\sqrt {b^2} x+\sqrt {a^2+2 b x a+b^2 x^2}\right )}{2 a (b d-a e)^2}+\frac {\sqrt {b^2} d \log \left (a-\sqrt {b^2} x+\sqrt {a^2+2 b x a+b^2 x^2}\right )}{2 a (b d-a e)^2}-\frac {\sqrt {b^2} d \log \left (2 b d-a e+\sqrt {b^2} e x-e \sqrt {a^2+2 b x a+b^2 x^2}\right )}{2 a (b d-a e)^2}-\frac {\sqrt {b^2} d \log \left (2 b d-a e-\sqrt {b^2} e x+e \sqrt {a^2+2 b x a+b^2 x^2}\right )}{2 a (b d-a e)^2}+\frac {-\frac {2 b^2 \tanh ^{-1}\left (\frac {\sqrt {a^2+2 b x a+b^2 x^2}-\sqrt {b^2} x}{a}\right ) x^2}{a (a e-b d)}+\frac {2 b^2 \tanh ^{-1}\left (\frac {e \sqrt {a^2+2 b x a+b^2 x^2}-\sqrt {b^2} e x}{2 b d-a e}\right ) x^2}{a (a e-b d)}+\frac {\left (b^2\right )^{3/2} \log \left (-a-\sqrt {b^2} x+\sqrt {a^2+2 b x a+b^2 x^2}\right ) x^2}{a b (a e-b d)}+\frac {\left (b^2\right )^{3/2} \log \left (a-\sqrt {b^2} x+\sqrt {a^2+2 b x a+b^2 x^2}\right ) x^2}{a b (a e-b d)}-\frac {\left (b^2\right )^{3/2} \log \left (2 b d-a e+\sqrt {b^2} e x-e \sqrt {a^2+2 b x a+b^2 x^2}\right ) x^2}{a b (a e-b d)}-\frac {\left (b^2\right )^{3/2} \log \left (2 b d-a e-\sqrt {b^2} e x+e \sqrt {a^2+2 b x a+b^2 x^2}\right ) x^2}{a b (a e-b d)}+\frac {2 \sqrt {b^2} \sqrt {a^2+2 b x a+b^2 x^2} \tanh ^{-1}\left (\frac {\sqrt {a^2+2 b x a+b^2 x^2}-\sqrt {b^2} x}{a}\right ) x}{a (a e-b d)}-\frac {2 b \tanh ^{-1}\left (\frac {\sqrt {a^2+2 b x a+b^2 x^2}-\sqrt {b^2} x}{a}\right ) x}{a e-b d}-\frac {2 \sqrt {b^2} \sqrt {a^2+2 b x a+b^2 x^2} \tanh ^{-1}\left (\frac {e \sqrt {a^2+2 b x a+b^2 x^2}-\sqrt {b^2} e x}{2 b d-a e}\right ) x}{a (a e-b d)}+\frac {2 b \tanh ^{-1}\left (\frac {e \sqrt {a^2+2 b x a+b^2 x^2}-\sqrt {b^2} e x}{2 b d-a e}\right ) x}{a e-b d}-\frac {b \sqrt {a^2+2 b x a+b^2 x^2} \log \left (-a-\sqrt {b^2} x+\sqrt {a^2+2 b x a+b^2 x^2}\right ) x}{a (a e-b d)}+\frac {\sqrt {b^2} \log \left (-a-\sqrt {b^2} x+\sqrt {a^2+2 b x a+b^2 x^2}\right ) x}{a e-b d}-\frac {b \sqrt {a^2+2 b x a+b^2 x^2} \log \left (a-\sqrt {b^2} x+\sqrt {a^2+2 b x a+b^2 x^2}\right ) x}{a (a e-b d)}+\frac {\sqrt {b^2} \log \left (a-\sqrt {b^2} x+\sqrt {a^2+2 b x a+b^2 x^2}\right ) x}{a e-b d}+\frac {b \sqrt {a^2+2 b x a+b^2 x^2} \log \left (2 b d-a e+\sqrt {b^2} e x-e \sqrt {a^2+2 b x a+b^2 x^2}\right ) x}{a (a e-b d)}-\frac {\sqrt {b^2} \log \left (2 b d-a e+\sqrt {b^2} e x-e \sqrt {a^2+2 b x a+b^2 x^2}\right ) x}{a e-b d}+\frac {b \sqrt {a^2+2 b x a+b^2 x^2} \log \left (2 b d-a e-\sqrt {b^2} e x+e \sqrt {a^2+2 b x a+b^2 x^2}\right ) x}{a (a e-b d)}-\frac {\sqrt {b^2} \log \left (2 b d-a e-\sqrt {b^2} e x+e \sqrt {a^2+2 b x a+b^2 x^2}\right ) x}{a e-b d}-\frac {2 \sqrt {b^2} x}{a e-b d}+\frac {2 \sqrt {a^2+2 b x a+b^2 x^2}}{a e-b d}+\frac {2 a \sqrt {b^2}}{b (a e-b d)}}{\left (-a-\sqrt {b^2} x+\sqrt {a^2+2 b x a+b^2 x^2}\right ) \left (a-\sqrt {b^2} x+\sqrt {a^2+2 b x a+b^2 x^2}\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 93, normalized size = 0.78 \begin {gather*} -\frac {b d - a e + {\left (b e x + a e\right )} \log \left (b x + a\right ) - {\left (b e x + a e\right )} \log \left (e x + d\right )}{a b^{2} d^{2} - 2 \, a^{2} b d e + a^{3} e^{2} + {\left (b^{3} d^{2} - 2 \, a b^{2} d e + a^{2} b e^{2}\right )} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.24, size = 203, normalized size = 1.69 \begin {gather*} -\frac {a e \log \left ({\left | b + \frac {a}{x} \right |}\right )}{a b^{2} d^{2} \mathrm {sgn}\left (\frac {b}{x} + \frac {a}{x^{2}}\right ) - 2 \, a^{2} b d e \mathrm {sgn}\left (\frac {b}{x} + \frac {a}{x^{2}}\right ) + a^{3} e^{2} \mathrm {sgn}\left (\frac {b}{x} + \frac {a}{x^{2}}\right )} + \frac {d e \log \left ({\left | \frac {d}{x} + e \right |}\right )}{b^{2} d^{3} \mathrm {sgn}\left (\frac {b}{x} + \frac {a}{x^{2}}\right ) - 2 \, a b d^{2} e \mathrm {sgn}\left (\frac {b}{x} + \frac {a}{x^{2}}\right ) + a^{2} d e^{2} \mathrm {sgn}\left (\frac {b}{x} + \frac {a}{x^{2}}\right )} + \frac {b^{2} d - a b e}{{\left (b d - a e\right )}^{2} a {\left (b + \frac {a}{x}\right )} \mathrm {sgn}\left (\frac {b}{x} + \frac {a}{x^{2}}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 77, normalized size = 0.64 \begin {gather*} -\frac {\left (b e x \ln \left (b x +a \right )-b e x \ln \left (e x +d \right )+a e \ln \left (b x +a \right )-a e \ln \left (e x +d \right )-a e +b d \right ) \left (b x +a \right )^{2}}{\left (a e -b d \right )^{2} \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {a+b\,x}{\left (d+e\,x\right )\,{\left (a^2+2\,a\,b\,x+b^2\,x^2\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b x}{\left (d + e x\right ) \left (\left (a + b x\right )^{2}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________